package cn.village.dao;
import cn.village.entity.JunctionContract;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface JunctionContractMapper {

	public JunctionContract getJunctionContractById(@Param(value = "id") String id)throws Exception;

	public List<JunctionContract>	getJunctionContractListByMap(Map<String,Object> param)throws Exception;

	public Integer getJunctionContractCountByMap(Map<String,Object> param)throws Exception;

	public Integer insertJunctionContract(JunctionContract junctionContract)throws Exception;

	public Integer updateJunctionContract(JunctionContract junctionContract)throws Exception;

	public Integer deleteJunctionContractById(@Param(value = "id") String id)throws Exception;

	public Integer batchDeleteJunctionContract(Map<String,List<String>> params);

}